<?php
/**
 * @version SVN: $Id$
 * @package    fmcSeminaire
 * @subpackage Base
 * @author     EasyJoomla {@link http://www.easy-joomla.org Easy-Joomla.org}
 * @author     Ludovic Launer {@link }
 * @author     Created on 10-Nov-2010
 * @license    GNU/GPL
 */

//-- No direct access
defined('_JEXEC') or die('=;)');

jimport('joomla.application.component.controller');

/**
 * fmcSeminaire default Controller
 *
 * @package    fmcSeminaire
 * @subpackage Controllers
 */
class fmcSeminaireListController extends JController
{
    /**
     * Method to display the view.
     *
     * @access	public
     */
    function display()
    {
        parent::display();
    }//function

function gtAnalyseData()
    {
    global $mainframe;
    $model =& $this->getModel();
    
    // ---------- Retrieve submited data ----------
    $campagneId = JRequest::getVar( 'campagneId' );
  
    echo $model->gtAnalyseData($campagneId);
    
   	$mainframe->close();
    }
    
function gtMiscData()
    {
    global $mainframe;
    $model =& $this->getModel();
    
    // ---------- Retrieve submited data ----------
    $campagneId = JRequest::getVar( 'campagneId' );
    
    echo $model->gtMiscData($campagneId);
    
   	$mainframe->close();
    }
    
function gtCampagneListData() 
	{
	global $mainframe;
    
    $model =& $this->getModel();
    echo $model->gtCampagneListData();
    
    
   	$mainframe->close();
	}

}//class
